#!/bin/bash

# Checks code format

source "$(dirname "$0")/common_lib.sh"
init_py_env

ret=0

set -x
ruff format --check || ret=1
ruff check || ret=1
pyright compiler || ret=1

exit "$ret"
